<template>
  <div class="main">
    <div class="head-title">素材管理</div>
    <ul class="top-nav-ul">
      <li class="actived">图片</li>
      <li>图文</li>
      <li>视频</li>
      <li>语音</li>
      <li>文档</li>
      <li>H5</li>
      <li>链接</li>
    </ul>
    <transition appear>
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="scss">
.main {
  min-width: 900px;
  max-width: 1200px;
}
.head-title {
  font-size: 20px;
  color: #515151;
  margin-bottom: 30px;
}

.top-nav-ul {
  padding-left: 0;
  border-bottom: 2px solid #e1eaec;
  list-style: none;
  display: flex;

  > li {
    position: relative;
    color: #394253;
    padding-bottom: 5px;
    margin-right: 25px;
    &:last-child {
      margin-right: 0;
    }
  }

  > li.actived {
    color: #4972f1;
    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 3px;
      background-color: #4972f1;
    }
  }
}
</style>
